     (Tested By SLAED 2.3 lite)

    >>> (   PHP     ?  ,     )

  admin\modules\settings.php

  

	."<tr><td>"._ALLOWANONPOST."</td><td>";
	if ($anonpost == 1) {
		echo "<input type='radio' name='xanonpost' value='1' checked>"._YES." &nbsp;<input type='radio' name='xanonpost' value='0'>"._NO."";
    } else {
        echo "<input type='radio' name='xanonpost' value='1'>"._YES." &nbsp;<input type='radio' name='xanonpost' value='0' checked>"._NO."";
    }

  

echo"<tr><td> </td><td>";
	if ($closer == 1) {
		echo "<input type='radio' name='xcloser' value='1' checked>"._YES." &nbsp;<input type='radio' name='xcloser' value='0'>"._NO."";
    } else {
        echo "<input type='radio' name='xcloser' value='1'>"._YES." &nbsp;<input type='radio' name='xcloser' value='0' checked>"._NO."";
    }
    
    	echo"<tr><td> </td><td>";
	if ($closea == 1) {
		echo "<input type='radio' name='xclosea' value='1' checked>"._YES." &nbsp;<input type='radio' name='xclosea' value='0'>"._NO."";
    } else {
        echo "<input type='radio' name='xclosea' value='1'>"._YES." &nbsp;<input type='radio' name='xclosea' value='0' checked>"._NO."";
    }

 

function ConfigSave($xsitename, $xStartModule, $xhomeurl,$xsite_logo, $xslogan, $xkeywords, $xdefis, $xstartdate, $xadminmail, $xuser_cookie, $xadmin_cookie, $xuser_cookie_t, $xadmin_cookie_t, $xsess_t, $xforum_link, $xforum_mess, $xforum, $xgfx_chk, $xanonpost, $xmessage_box, $xupdate_points, $xDefault_Theme, $xtop, $xstoryhome, $xsiteclose, $xlanguage, $xmultilingual, $xuseflags, $xadmin_panel, $xold_modules, $xgzip_status, $xkeywords_status, $xCensorMode, $xCensorReplace, $xtime_db, $xtime_db_query, $xvariables, $xrewrite_mod, $xredaktor, $xsmilies, $xpaneldis, $xCensorList) {

 

function ConfigSave($xsitename, $xStartModule, $xhomeurl,$xsite_logo, $xslogan, $xkeywords, $xdefis, $xstartdate, $xadminmail, $xuser_cookie, $xadmin_cookie, $xuser_cookie_t, $xadmin_cookie_t, $xsess_t, $xforum_link, $xforum_mess, $xforum, $xgfx_chk, $xanonpost, $xcloser, $xclosea, $xmessage_box, $xupdate_points, $xDefault_Theme, $xtop, $xstoryhome, $xsiteclose, $xlanguage, $xmultilingual, $xuseflags, $xadmin_panel, $xold_modules, $xgzip_status, $xkeywords_status, $xCensorMode, $xCensorReplace, $xtime_db, $xtime_db_query, $xvariables, $xrewrite_mod, $xredaktor, $xsmilies, $xpaneldis, $xCensorList) {


 

$content .= "\$anonpost = \"$xanonpost\";\n";

 

$content .= "\$closer = \"$xcloser\";\n";
$content .= "\$closea = \"$xclosea\";\n";

 

    case "ConfigSave":
    ConfigSave($xsitename, $xStartModule, $xhomeurl,$xsite_logo, $xslogan, $xkeywords, $xdefis, $xstartdate, $xadminmail, $xuser_cookie, $xadmin_cookie, $xuser_cookie_t, $xadmin_cookie_t, $xsess_t, $xforum_link, $xforum_mess, $xforum, $xgfx_chk, $xanonpost, $xmessage_box, $xupdate_points, $xDefault_Theme, $xtop, $xstoryhome, $xsiteclose, $xlanguage, $xmultilingual, $xuseflags, $xadmin_panel, $xold_modules, $xgzip_status, $xkeywords_status, $xCensorMode, $xCensorReplace, $xtime_db, $xtime_db_query, $xvariables, $xrewrite_mod, $xredaktor, $xsmilies, $xpaneldis, $xCensorList);
    break;

  

    case "ConfigSave":
    ConfigSave($xsitename, $xStartModule, $xhomeurl,$xsite_logo, $xslogan, $xkeywords, $xdefis, $xstartdate, $xadminmail, $xuser_cookie, $xadmin_cookie, $xuser_cookie_t, $xadmin_cookie_t, $xsess_t, $xforum_link, $xforum_mess, $xforum, $xgfx_chk, $xanonpost, $xcloser, $xclosea, $xmessage_box, $xupdate_points, $xDefault_Theme, $xtop, $xstoryhome, $xsiteclose, $xlanguage, $xmultilingual, $xuseflags, $xadmin_panel, $xold_modules, $xgzip_status, $xkeywords_status, $xCensorMode, $xCensorReplace, $xtime_db, $xtime_db_query, $xvariables, $xrewrite_mod, $xredaktor, $xsmilies, $xpaneldis, $xCensorList);
    break;

   
   modules\Account\index.php


  (   ) function newuser() {

      

function newuser() {
    global $my_headlines, $module_name, $db, $gfx_chk, $closer, $closea;
    if (!is_user($user)) {
        $random_num = gen_pass(10);
        head();
		title(""._REGNEWUSER."");
        OpenTable();
        if($closer == 1) {
        echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"3\" align=\"center\">"
		."<form action=\"index.php?name=$module_name\" method=\"post\">"
		."<tr><td>"._NICKNAME.":</td><td colspan=\"2\"><input type=\"text\" name=\"user_name\" size=\"30\" maxlength=\"25\"></td></tr>"
		."<tr><td>"._EMAIL.":</td><td colspan=\"2\"><input type=\"text\" name=\"user_email\" size=\"30\" maxlength=\"255\"></td></tr>"
		."<tr><td>"._PASSWORD.":</td><td><input type=\"password\" name=\"user_password\" size=\"25\" maxlength=\"10\"></td><td><img src=\"images/info.gif\" border=\"0\" title=\""._BLANKFORAUTO."\"></td></tr>"
		."<tr><td>"._RETYPEPASSWORD.":</td><td><input type=\"password\" name=\"user_password2\" size=\"25\" maxlength=\"10\"></td><td><img src=\"images/info.gif\" border=\"0\" title=\""._BLANKFORAUTO."\"></td></tr>";
		if (extension_loaded("gd") AND ($gfx_chk == 3 OR $gfx_chk == 4 OR $gfx_chk == 6 OR $gfx_chk == 7)) {
            echo "<tr><td>"._SECURITY_CODE.":</td><td colspan=\"2\"><img src=\"?gfx=gfx&random_num=$random_num\" border=\"1\" alt=\""._SECURITY_CODE."\" title=\""._SECURITY_CODE."\"></td></tr>"
			."<tr><td>"._TYPESECCODE.":</td><td colspan=\"2\"><input type=\"text\" name=\"gfx_check\" size=\"10\" maxlength=\"6\"></td></tr>"
			."<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">";
        }
        echo "<tr><td colspan=\"3\" style=\"width:300px\"><textarea cols=\"50\" rows=\"10\">"._RULES."</textarea></td></tr>"
		."<tr><td colspan=\"3\" style=\"width:300px\"><input type=\"checkbox\" name=\"rulescheck\" value=\"1\"> "._RULES_OK."</td></tr>"
		."<tr><td colspan=\"3\" align=\"center\"><br><input type=\"hidden\" name=\"op\" value=\"confnewuser\">"
		."<input type=\"submit\" value=\""._NEWUSER."\"></td></tr></form></table><br>"
		."<center>[ <a href=\"index.php?name=$module_name\">"._USERLOGIN."</a> | <a href=\"index.php?name=$module_name&op=passlost\">"._PASSWORDLOST."</a> ]</center>";
          } else {
          echo"<table border=\"0\" align=\"center\"><tr><td><b>     !</b></td></tr></table>";
          }
        CloseTable();
        foot();
    } elseif (is_user($user)) {
		info($user[1]);
    }
}





    

function confnewuser($user_name, $user_email, $rulescheck, $user_password, $user_password2, $gfx_check) {
    global $stop, $sitename, $module_name, $minpass, $no_mail_reg, $gfx_chk, $sitekey;

 

function confnewuser($user_name, $user_email, $rulescheck, $user_password, $user_password2, $gfx_check) {
    global $stop, $sitename, $module_name, $minpass, $no_mail_reg, $gfx_chk, $sitekey, $closer, $closea;
    if($closer != 1) {Header("Location: index.php?name=$module_name&op=newuser"); exit;}

 

function finnewuser($user_name, $user_email, $rulescheck, $user_password, $gfx_check) {
    global $stop, $adminmail, $sitename, $Default_Theme, $prefix, $db, $storyhome, $module_name, $homeurl, $no_mail_reg, $gfx_chk, $sitekey;

  

function finnewuser($user_name, $user_email, $rulescheck, $user_password, $gfx_check) {
    global $stop, $adminmail, $sitename, $Default_Theme, $prefix, $db, $storyhome, $module_name, $homeurl, $no_mail_reg, $gfx_chk, $sitekey, $closer, $closea;
    if($closer != 1) {Header("Location: index.php?name=$module_name&op=newuser"); exit;}

  

function activate() {
    global $db, $prefix, $module_name, $language, $forum;

 

function activate() {
    global $db, $prefix, $module_name, $language, $forum, $closer, $closea;
        if($closer != 1) {Header("Location: index.php?name=$module_name&op=newuser"); exit;}

    (   ) 

function main($user) {

     

function main($user) {
    global $stop, $module_name, $gfx_chk, $closer, $closea;
    if(!is_user($user)) {
        head();
        if ($stop) {
            title(""._LOGININCOR."");
        } else {
			title(""._USERREGLOGIN."");
        }
        if (!is_user($user)) {
            OpenTable();
            if($closea == 1) {
            $random_num = gen_pass(10);
            echo "<form action=\"index.php?name=$module_name\" method=\"post\">"
			."<table border=\"0\" align=\"center\"><tr><td>"
			.""._NICKNAME.":</td><td><input type=\"text\" name=\"user_name\" size=\"10\" maxlength=\"25\"></td></tr>"
			."<tr><td>"._PASSWORD.":</td><td><input type=\"password\" name=\"user_password\" size=\"10\" maxlength=\"20\"></td></tr>";
            if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
                echo "<tr><td>"._SECURITY_CODE.":</td><td><img src=\"?gfx=gfx&random_num=$random_num\" border=\"1\" alt=\""._SECURITY_CODE."\" title=\""._SECURITY_CODE."\"></td></tr>"
				."<tr><td>"._TYPESECCODE.":</td><td><input type=\"text\" name=\"gfx_check\" size=\"10\" maxlength=\"6\"></td></tr>"
				."<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">";
            }
            echo "<tr><td colspan=\"2\" align=\"center\">"
			."<input type=\"hidden\" name=\"op\" value=\"login\"><br>"
			."<input type=\"submit\" value=\""._USERLOGIN."\"></td></tr></form></table><br>"
			."<center>[ <a href=\"index.php?name=$module_name&op=passlost\">"._PASSWORDLOST."</a>";
                        if ($closer == 1) {
                        echo"| <a href=\"index.php?name=$module_name&op=newuser\">"._REGNEWUSER."</a>";
                        }
                        echo" ]</center>";
            } else {
            echo"<table border=\"0\" align=\"center\"><tr><td><b>   / !</b></td></tr></table>";
            }
            CloseTable();
        }
        foot();
    } elseif (is_user($user)) {
		info($user[1]);
    }
}

    

function login($gfx_check) {
    global $setinfo, $db, $module_name, $prefix, $forum, $gfx_chk, $sitekey;

 

function login($gfx_check) {
    global $setinfo, $db, $module_name, $prefix, $forum, $gfx_chk, $sitekey, $closer, $closea;
    if($closea != 1) {Header("Location: index.php?name=$module_name"); exit;}

   
    ,    .    :)
  Argos-Den,       .